Change lib.events to lib.event and make events more homogenous.