Remove unused symbols.