Added "diff" shortcut method, tests and docs.