Prevent a NPE.