Fix relationship initialising.