Fix fragment instantiations