This is how we've typically written these, as it allows you to assume in your factories that you need to get the parent service locator instance if you need to get at app-level services.