$x.Str => ~$x + other tweaks