Add methods to find out how a part is connected.
Add test case to make sure classifier doesn't bomb.