Fixed a lot of relationship stuff.