The scope of remedies may be limited by the terms of the contract, the law, or the parties’ intentions.