Shared:  Added removeFormatting.

API change (addition of exported function).