[NODEJS-1594] Cleanup previous code