Adding OnVimLeave support to Completer class