Callbacks for XSNumber.