Getting rid of EventConstants.