Implement initial ORM support for table row references.