Need to raise exception if there is an error in callbacks.