Generalized module generation mapping.