Adjust API to pass the app to resolve