Avoid null pointer.