Added `assert` statement.