Optimize and also add completion for Erlang modules