Fixed issue with BatchCreateClass. Removed debug code.