OFC-789 - Parent expression --> Parent code
Helper methods
Remove code attribute dependencies when deleting code attribute