remove unused code and StringIntern.