Make the `cb` callback optional