Pull some stuff out of appController.