Remove redundant prefixes from class names