Add inspect method.