Description
XmlConfigService has ability to pick up dynamically added classes and templates in development mode.
XmlConfigService#getPageClass(String) contains the code:
if (pageClass != null) {
page = new PageElm(path, pageClass, commonHeaders);
pageByPathMap.put(page.getPath(), page);
...
So pageByPathMap is expanded to include the new template however pageByClassMap is not.