Nicer API for embedding Elm programs