Remove assertion code