Adding in core file to handle namespacing before templating.