Reset caches when replacing things in the registry

Includes: tables, columns, and injectables.