Update validator example to show ctor injection