Replaced deprecated EventHandlers

@PreInit, @Init and @PostInit are deprecated. Just use @EventHandler for all of them instead.