Updated ItemMeta implementation, added debug checks