Check for parameters method so we don't blow up on Ruby 1.8.7