Store ref to primary instance and avoid values() hack.
Documenting aggregate_rows()
Docs