Remove nopt dependency