Added item-level metadata generation.