Agree, it's probably better if you could revert these changes from this pull request. Indeed they aren't needed for the module to work.