Merge "Fix varexists parsing and improve documentation"