mod/reader optimize classes/events using base class