What is a notary, and what are its functions