Use backwards-compatible size instead of length to check association proxy.