Inject the funcMap in (TemplateGroup) parse method to avoid errors in
state handling