* Got the shims to work with the templateCache

* Updated context to pass a dummy context if it has not yet been
registered