Removed now redundant fetch_template_uri function