Handling nil class