See StoryDependenciesInXp.