Clone of wowace/CallbackHandler