Removed a couple of unnecessary assertions.