Make removeOne method consume ScriptableDocument.

Currently, removeOne method only consumes query. This patch makes the
method also consumes document too.