Removing unnecessary spaces.