Add some asserts.