core: Add possibility to override object in ConfigServiceLocator.