Another option is to have ``param_name`` and ``param_range`` passed explicitly.  I think I would favor this.