Make extracting fields from the bia DRYer.