Added from_row method