Move setAssociationContext() to Field class