E-cadherin mediates adhesion and suppresses cell motility via distinct mechanisms.