Adding metaType to nodes, implementing methods in serializetreevisitor.
Adding unit tests for all new nodes, methods and refactored classes.
work in Progress