Fix callback check, and docs