 
         values = unquote(values)
         opts   = unquote(opts)
-        Record.deffunctions(values, opts, __ENV__)
+        Record.deffunctions(values, __ENV__)
         unquote(block)
-        Record.deftypes(values, @record_type, opts, __ENV__)
+        Record.deftypes(values, @record_type, __ENV__)
       end
     end
   end

  @doc """
  Defines types and specs for the record.
  """
  def deftypes(values, types, _opts // [], env) do
    types  = types || []
    values = lc value inlist values do
      { name, default } = convert_value(value)

      end

  """
  def deffunctions(values, env) do
    values  = lc value inlist values, do: convert_value(value)
    escaped = Macro.escape(values)

