Add route trimming