Fix case sensitivity for special class names
Preserve case of "static" class name