Add extra options support to Viz function