Helpful cast type functions for the cards