Added support for rainbow cards.