Introduced param object

Example now shows live auto generated code snip.
Params now added for all optional params.