def to_h
          result = {}
          for iv in instance_variables
            iv = iv.to_s[1..-1]
            result[iv.to_sym] = self[iv]
          end
          result
        end
Returns the configuration instance variables as a hash, that can be
passed to the configure method.