Masterpages functionality added.