Removed some debug code (shadow updates)