That would definitely work as well, but I think it would be much harder to implement than a pointer to the fragment.