EventHandler api to register callbacks