Implemented card delete method.