Introduced TemplateSelector to select what to show: subclasses or class details