CLN: Cleanup unused assignments in core/index