Changing Fields to accept resources as input for constructor