Cells: change isKindOfClass to messageType check