pass 'env' when loading an AssociationSet