Refactored how Association class name setting is handled to accept strings.