I think $app is available here?