Raise if `cache.add` receives `documents` that aren't Documents.