Add prettyDocBuilder for allowing instances to render themselves directly