Fixed Inconsistent accessibility on Event class