This should be in a `ensure` block