Added debug trace
Changed the way to check if an attribute is a Traversable (including List and Set)