Removes unnecessary space.