* Protect the attributes of the NWItem class * Fix test coverage * Add a type checker function to the tree class