Remove extraneous spaces.