Fixed removing of parts and cloning of cell to work with new structure.