Removed unnecessary asserts.