Improvments to relationship syncing.