Resolving template dependencies for template-provider.