Makes trailing slash optional