Such bond resolution, trust agreement or other agreement may contain such provisions for protecting and enforcing the rights, security and remedies of the bondholders as may be reasonable and proper, including, without limiting the generality of the foregoing, provisions defining defaults and providing for remedies in the event thereof which may include the acceleration of maturities, restrictions