Changed foreign keys from ints to objects