Fix module definition files