Make UI._templateInstance throw when not in helper.