Add empty markReadonly in EventBase.