Generalize type of transformMOnOf
Docfix: Corrected many doc types