Correcting errors in CLeroy regarding new object class