Refactoring: get_line_by_*() => get_row_by_*().