Document compare, exists, and extend