Data annotations
Added --output option.
Change emitters to emit actual events/types.