Added type to event post