Example code updated.