Added in whitespace handling function thing.