Removes trailing spaces.