The events module and now both init and uninit events. It uses the listen configuration to save the functions