Defined Card class.