Avoided using private API get_template_from_string.