Mr. Correa 's plans to redefine the government are similar to what his ally , Venezuelan President Hugo Chavez , has done in his country .