Remove useless objects