Shouldn't this be an assert?