Discovering Inheritance