Added Deck API stuff.