Reworking object look up code to use existing inspect functionality.