More simplification of serial functions

@keithbostic, these changes follow on from #718 -- I think we can always set up next pointers before calling serialized functions.  Can you please take a look?

Thanks,
Michael.