Remove old core code.