Change freeze_object to use the class freezer object