Use C++11 nullptr instead of NULL.