Added general support for query execution and db.collection.find operation.