Adds emit to document retrieval, although not ideal