Moving database cleanup from registries to zetta.js.