remove duplicate inspect method

The inspect method definition seems to be duplicated.