Isn't the ```value.nil?``` check wrong now?