add support for spy objects
Merge pull request #33 from vsavkin/add_spy_objects

Add support for spy objects