Added ability to load a page fragment rather than the whole page