Support for removing trailing slashes from views.