Added two examples of extending an object with a function. These on a String.