Added withParams functionality.
Added functionality for actual options, rather than parameters...