How do you avoid children fighting over the family home after you die?

Parents need to think ahead and make arrangements for what should happen to the property in their wills - and ideally let everyone know in advance - or risk a messy legal battle.