Template provider class