Replaced C++11 nullptr keyword with 0.