Replace usage of App facade with the provided $app from Closure instead.