Added some example code.