Added goal to subgoal relationships.