Now prefixes should not use a slash in the end.

This will be useful for prefixes that contain slashes, and make it easier to parse and create URLs