Cleaning up imports and selfs for cards.