Added documentation for removeWhitespace