move node.* under ua, flag some methods as const and do not use const for simple types paramters