Providing support for non-global templates.