Added ability to generate events for characters.