More setting up event handlers.