public fetchResource(iri: string): Promise<object> {
        return sendMessage(
            this.worker,
            {
                method: FETCH_RESOURCE,