class ISO3166::KwargStruct

def initialize(*args)

Override the initialize to handle hashes of named parameters
def initialize(*args)
  opts = args.last.is_a?(Hash) ? args.pop : Hash.new
  super(*args)
  opts.each_pair do |k, v|
    self.send "#{k}=", v
  end
end