Changed NewPaste signiture
Updated example

Example now demonstrates all the API functions