Fix broken module mapping and improve documentation about how it works.