Add some types and events.