extended Doc.prototype with GetOps