remove unneeded CodeNode class