Add metadata for a class