Updated CreditCard class.