removed annotations parsing logic from events.