Fix for older Node versions.