Remove unnecessary string joins.