Added optional Instance to retrieve

I modified the retrieve function so you can optionally specify an instance (such as this) to your retrieve call and the callback will instantiate the callback using your supplied object. This allows you to use anonymous functions with the retrieve function.