handle all params types and add pretty params doc to fns doctrings