Moved weave/unweave publishing to component.