Generic cleanup (formatting)