Particularly useful in RAII contexts: