Added service method for template loading.