Switching to int id on ItemType for performance reasons.