Bug fix for non-namespaced services in ServiceProvider.