Added dependent destroy to pins