Make company use the global mode
Remove defun
Add macro