Fixing reference to parent attributes.