`_createDocument()` can return `null`. It looks like `_server.add()` does not handle `null`. Should this get handled by caller or server?