Removing unncessary assertions.