Add more migration functions to bootstrap compiler.