Changed how metadata intrinsic is generated.