For this to actually work this PR needs to be accepted by the Erlang lib.
@danxexe I'll merge as soon as the erlang lib merges that PR