Refactored 'parent' to 'parent_' to prevent overlap.