Added some templating to datastore examples