Removes unnecessary return value.