Fix deprecation warning on elixir master