Extend values method to allow passing of arbitrary parameters.