Added default injector fallback for the ClassProvider.