Documentation "Sample code" fix

Usage documentation mismatch fixed