Added fragment method.