Renamed `primary_reference_key` to `reference_key`