The idiomatic Elixir way would be to accept a Keyword list for options, not a map. Maybe the API can be changed to accept both for now, and eventually deprecate the map and remove support in a future major release? I'd be happy to provide a patch.