Codegen: rename routine to make_routine