Plugin events are now methods