Add traits to scala emacs output.