Remove objects auto generated in compilation