$app should not be necessary