Fix module according to the requirements.