Miscellaneous string cleanup.