Pasted example functions into file.