Avoid crash if callback not given