Added support for xoring Q objects.