This seems a strange place for this. Shouldn't the string reference be resolved inside the resource loader?