Make the golang and erlang modules a bit similar