Change all nullptrs to NULLs.
Initialize value in constructor rather than in class (apparently a C++11 feature).