Add a strict version of partition and sift.