Switched over to a better pattern where objects only keep reference IDs to other objects, not the objects themselves.