Documentation of event types.

Resolves #2.