Added module map generation docs and some clean-up.