Getting rid of references to the shared instance that should not be there anymore.