Modified Deck class for variable decks.