Replaced asserts.