[C++11] More 'nullptr' conversion or in some cases just using a boolean check instead of comparing to nullptr.