modify Model::setDiff to use model methods instead of doc methods and be...

...tter expose Model::setArrayDiff