Used the DataLayout methods instead of the Module methods.