Use vars to store bitmask flags to improve readability.