If lines 67~74 are removed, then there is no need for `.pre` and `.post` events, we can just use the event manager priorities and save some cpu cycles here.