adding provider for classes