Added a type for cards