Cleaned up code example.