add markAsRegistered method to the cell class.