Call stack based service locator