Add name attribute to modules