Catching NULL pointers.