Commented-out affinity() method.