class Thor::CoreExt::OrderedHash

def sync_keys!

def sync_keys!
  @keys.delete_if { |k| !key?(k) }
end