Adding methods to generate template registrations