Using funcserialize to de/serialize functions.