Add some events for plugins to hook into