Add strip-text-properties function.