Added some erlang impls