remove some cpp object model which is useless.