Fix params

Make it so that params gets the arguments it needs to make a decision on which part of params to return.

Fixes params($source) returning all the params.
reflect changes
Merge branch 'fix/params-dsl'