Added a complete example.
Use 1.8.x syntax.