Add support for parsing the inventory token.