Added sanity check.