the minimal changes to work with Elm-0.13