Refactor widths module settings.