`entityClass` -> `document`?