Refactor class names.