Fix opts passing.