Made the whole scene graph serializable