Helper function coming together, setting optional inputs from dynamic
arity input.

Helper function coming together, setting inputs from vector.