Replace with `assert`