Remove path prefixes