+ toMethod, .toFunction
code generation is now more modular