Adding asserts.