Small service locator library.