Fixing metadata types.