Added entities fetching, either directly or from a loaded document