Change this checks by `callback && callback()` form, please.