Renamed removeTrailingSlash to removeTrailingSlashes.