Added a call of a callback function in case when no registration id were given.