Initial sanity check implementation.