Added functionality to tag decks

Please review.