Cleanup of injector and metadata generators.