Support for the classes special variables in templates.