Simplify parsing of whitespace