Fix documentation of xor in classes

See Redmine #2262.