Fixing 5.3 compatibility in ItemList and NamedBitmask.