Rename Resource.Decode to DecodeToResource