Remove redundant parents function