Clean old publication fragment code