Fix potential NPE.  IDE quick fixes.