For feature parity with `add`, shouldn't `diff` also accept an object literal?