Split delete and unadvertise into dedicated functions.
Add an exit-type identifer, currently only for Dummy message handling.