Chnaged resource type strings into constants.