Merged example from master branch.