Made node endpoints their own outer class.