COOPR-659: Update template APIs to support extending templates from mandatory partials