Added javadoc to DocumentController