Prevents null pointer dereference.