More efficient usage of ServiceManager
Useful for tests