Remove spaces and newlines.