Remove unneccessary code, $app is curried.