removed beforeSet, since fragments shall be uded instead