Remove outdated and unused discussion code and tests.