Fix for new webapi-vim API