Add slug trimming