Add Optional Dependencies to Dependency Graph