[Lucene Plugin] Refactored to comply with the new generated API.
[Email Dispatch] Refactored to comply with the new generated API.