The removal of some extensions functions means it's not possible to follow the conventional incremental upgrade path; instead we'll create a script for direct upgrades to 5.1.