Add sanity check.