Fix sourcemaps
Add public/private flag