Needs a space before `cachedDocs[type]`