Method extraction to allow for easier overriding of conversion from class name to template name