Export publish and hasStagedChanges info. Closes #25.