Purge old and unused code.