mark private classes, but don't render them that way yet
make private constructors private
fix type references in args
publish.js generation