Replaced all instances of NULL with nullptr.