Add UDAs for LDC attributes.

This is the same UDA as proposed by jerro for gdc.