Added an example for createProxy().