Fix inspect of undeclared properties.