Guard against nullfunc