Add factory for events.
Add event specs.