Migrate Nodes

There are some code that has been merged into CB2B1 but not in master.