Added Engine.initTemplates.