A person's agreement in a mortgage to the entry of judgment if he defaults on the obligation secured by the mortgage.