Do you need to call `_setDocInfo()` here? Returning early here means the `BaseServer.add()` won't be called below, so `_setDocInfo()` will never be called.