MIAMI — Marlins hitting coach Barry Bonds was fired Wednesday along with third base coach Lenny Harris and bullpen coach Reid Cornelius.

Miami also announced a $40 million, three-year contract with third baseman Martin Prado, who would have been eligible for free agency, and exercised a $2 million club option on outfielder Ichiro Suzuki.

Miami finished fourth in the majors in batting average at .263 but fourth-lowest in runs at 655 and next-to-last with 128 homers. The Marlins improved in all three categories from 2015.

Manager Don Mattingly said the organization decided to move in a different direction with its coaching staff.

“I don’t need to get into the reasons really with anything with Barry,” Mattingly said. “We feel like any time you talk about coaches and letting someone go those are not easy things to talk about. We’ll just try to get the best guy for the situation.”

Bonds made a full-time return to baseball this season when he joined the Marlins. Owner Jeffrey Loria suggested hiring the steroids-tainted home run king and Mattingly went along with the idea.

Bonds, who hit 762 home runs, ended his playing career in 2007.

Prado hit .305 with eight home runs, 37 doubles and 75 RBIs while providing steady veteran leadership in the clubhouse. He gets $11.5 million next year, $13.5 million in 2018 and $15 million in 2019, and he also would get a $1 million bonus each time he is traded.

The 42-year old Suzuki this year became the 30th player in the majors to reach 3,000 hits. He batted .291 in 143 games.

“I think he probably will play until he’s 50 and that seems fine by us,” Marlins president David Samson said.

In August, the Marlins were in contention for their first playoff berth since 2003. But Miami finished 79-82 and missed the playoffs for the 13th consecutive season, the second-longest drought in baseball behind Seattle at 15 years.

The Marlins dealt with the death of ace pitcher Jose Fernandez in a boating accident on Sept. 25. Teammates spent the last week of the season grieving their charismatic pitcher.

“There’s no replacing Jose,” Samson said.