Added support for array options.
Added obvious support for per-request error handling