Raise exception when unexpected params are provided. Config switch provided, off by default.
Updated hashes to use ruby 1.8.7 compat. hashrockets.