Implement mapper for event class