The default use of Nan::SetPrototypeMethod is giving warnings under node 6.0. I had to change from:
Nan::SetPrototypeMethod(tpl, "flood", Flood);
to:
tpl->PrototypeTemplate()->Set(Nan::New<v8::String>("flood").ToLocalChecked(), Nan::New<v8::FunctionTemplate>(QuadTree::Flood));
in order to bypass the warning. It would be nice if SetPrototypeMethod was updated to do this internally.