Allow custom cleanup before compressing slug