Sanity check added.