Attaching simple metadata to types

It seems this link discusses the solution to my problem .