Add attributes by name method to managed object.