Make callback optional.