The Presentation template mapping must be before the Page mapping. Presentation extends Page, and `templates_by_class` uses instanceof and takes the first match. Thus more specific classes have to come first and generic classes only afterwards.