Please add a null check on `callback`.