Minor fix: Fixed Module generation with Controller option=YES