Moved event bindings out to AppController.