Add class to replace @id and @type with uri and a