added support for template fragment providers in super classes