MailExtension: distinguished setClass + setFactory