added metadata to all types