Remove some unnecessary temporary strings.