Minor changes to support RPubs publishig.