Fix build by re-adding a deleted function.