Bytecode templates for function.