Fix method body production