Put definitions in events.go in an order that makes sense