Draft implementation of fragment injection.