Sorry, bad wording. I know that `self.propertiesMap` is used, what I meant is that this complicated function `self.setPropertiesMap`  doesn't seem to do any real work since the last line in the function overwrites `self.propertiesMap`. Hence replacing the whole method with just the last line.