Fix ignoring return value.