Add some sanity checks.