Remove unused asserts.