Pluggable tag cleanup