Checking in some Morphia code