Support hooks with custom node version.