Improved BatchCreateClass.