Close issue #240: sampled ancestor features migrated to Tree and Node classes