Add Result classes to whoosh backend.