wrapping class reference fields in class row instance data type