[everything] Allow passing NULL to the callback