Fixed publish and retract attr names in models and forms.