Convert bottom endings with hooks to new hook api.