Changed to using Compiler that outputs anonymous function so you can handle the naming yourself.
Renamed old compiler to GlobalTemplateCompiler (as it compiles a global function using a template name).