Made RequestController.getInstance().addDocument() asynchronous.