Fixed warnings in Deck