Erlang functions of common use.