Add clear partition primitive.