Stop using deprecated string module.
Remove unused import.