Some simple stuff for ViewNode class