Added template precompilation