Revert "Documentation Sample code fix"

This reverts commit 17f5ab79a4dccf1c7c3989ef03fc0cb9128cc224.