Update docs to mention how to register exception callbacks.