Fixed issues related to compiler templates.