Use an @Document annotation and do not depend on codegen
@Document annotated linked packages are not included but instead linked