Make metadata annotations generic.