Removing trailing slash.