Added two missing callbacks to the wrapper.