Saner parameters for check_state and check_close.