Ported RelationshipsState.