Added some inspection code.