Cleanup d3:core/index.ts