Added ivi.add_attribute, updated Doc object and dcpwr