Revert "afm-unit: Restore removal of capabilities"

No match.