Lionel Messi agreed on a new contract with Barcelona on Tuesday through 2018.

Messi, the three—time world player of the year, has 90 goals in 2012, surpassing Gerd Mueller’s 40—year—old milestone of 85 in a calendar year.

Xavi Hernandez and Carles Puyol also agreed to new deals with the Spanish giant.

In a statement released by the club, Messi, whose contract was due to expire on June 30, 2016, extended his commitment to the club to June 30, 2018.

Puyol and Xavi extended theirs to June 2016.

“This news means that FC Barcelona has secured its ties with three of its most important players,” the statement said, adding that the contracts would be signed “over the course of the next few weeks.”

More In: Sport | Football