Move parseTemplates to init so there's a callback