Handle a return value and introduce a constant.