Any documentation on what this `2` means? Can this take other values? If so, which ones and what do they mean?
Since this 2 is used in multiple places, it's probably better to add it as an enum somewhere rather than a hardcoded number that will soon lose its meaning to the reader's eyes.