Correct incorrect example

The example code for the README file did not include proper namespaces for several function calls.