Trim trailing spaces now.