Ensuring all optional dependencies are setup first