Add serial_no attributes to objects