Added: Error checking in association classes.