Generic approach to parameters

Testing an approach to the parameters using generics that will allow for
more flexible setting of defaults.