Roll back introduction of enum for handleClose param.