Enh: Add serial number generation