Added some sample code.