services instead of config

The menu provider should be registered in the services, not in the config, right?