com_addatt: Minor improvements.