Added v8 changes (temporarily, until they are pushed to the v8 repo).