Check if callback is not none before calling.