add service locator interface.