Improved set operation.