This also updates the `module_name` helper function so that it still replaces periods with underscores as it did previously.