this service should go into a separate configuration file and only be loaded by the DI extension if the menu bundle is available.