Making example run in v5.