Refactor DiscardDeck.