Fix examples

The current example requires two additional use statements to be functional with a copy-paste.  Additionally the composite key does not work as provided, it requires the key field names to be specified to function.

Not sure what @beberlei thinks about including in the example loading of the AnnotationRegistry?  If this is done the example is a straight drop in and will work out of the box.  If that's something you want added let me know.