Remove old symbols when generating symbols.