Move terminator to core.