Cleanup of some publishing APIs to make them suitable for use. Removed setters where they didn't belong. Added comments as needed.