Move insert mode functions to autoload.