Replacing convert_to_cell() implementation with something more sane.