Adding some debug logging to the deleteExtra method.