Extract whitespace chars into separate module