Corrected Animat init method generation in Sim template.