DeleteClass works