Removes unnecessary whitespace.