can the primaryType really not be set? if so we would have had a problem with the old method too