Removes asserts and sanity checks