Redundancy removal