Fix README to show enum namespacing

Following pull request #241 the example code in the README.md would fail to compile. Therefore I've updated it in the same style as the examples.