Add DocBuilder class