Add asserts.