 Palestinian factions Hamas and Fatah have signed a national unity agreement in Beijing, in China, otherwise known as the Beijing Declaration, a pledge to end years of internal division and strengthen Palestinian unity.