Calling property on app's object is deprecated.