Add version support to IndexWriter as well