Back-compat for template-internal API calls