Adjust to newer elixir

Calling Tree.new doesn't transform the record type any more.