Raven.wrap should maintain the applied scope

Fixes #155