To make it easier to upgrade the code when a new version of DokuWiki is released, the DocBook code enhancements should be as decoupled as possible. Right now there's a lot of code intertwined with the original DokuWiki code, making it difficult to keep it up-to-date.