Augmented documentation for registerDocument