Document how the module code works