change: remove redundant lines in inspect-method.