Adds support for query_did and get_dids. Returns an enumerable collection.