Allow changing only the main class name.