Utility classes for easier storage of beans in Lucene