Adding template compiler.