Attempted new method of fragment replacement.