Moved DocumentationPrinter to internal.util.
Added new Pattern interface.