class_from_string should have an exit condition when class can't be found