Adds code to make CellBlock comparable