Adding xml/json opts.