Generates method-specific code for the ode2odeso rep.