Remove unnecessary str statements