Documentation for Spy and Promised