Implemented ability to register multiple documents at once