Forced type and target property to event object