compatibility with CouchGrid