Fixed bug in code example.