mpsGenerateLenses (fixes #189)