Improve strongly typed example.