Templates and Scopes