Improvements on whoosh schema generation.