Updated experiment code to pass through version factories for ports.