Add add_node function and remove the translator