Refcatoring of nodes creation. Deleted factory.