Add shim definitions to emacs and go