Add pry for debugging stuff.
Fix a bug with stack signatures.