Adapt Hello World example for current version.