Add an ancestors method