Added skeleton for serial functions.