AppController: Get rid of 10.4 deprecation warnings