Add @deprecated annotation for getRows()