Yes, it would be better to either not all NULL to be set as a valid callback, or to handle the NULL properly.

Since both of these issues aren't directly related to these proposed changes could you open up an issue for each of them so we don't loose track of making these improvements.  Better yet, propose a patch as well!