This check seems a bit weak - extraction is recursive, right? What if multiple associations reference the same class name?