Implemented SceneNode class.