Remove unneccessary prefixes