Change NDN event model from closure to callbacks.