Improve registerCallback docs