How to avoid inheritance disputes?