Fixes for 0.8.X of node