Prevented potential NPE.