Added consistency check for later.