Changes for nan@1.0.0