Issue #2227603 by Liam Morland: Allow setting next serial number.