Update to use resource manager API for templates, rather than hard-linked filepaths.