add DEFUN and global environment.