An Analysis of Shareholder Agreements