Mark dependencies as optional