Restructure wrappers a bit to simplify the code

This also fixes #65

Now all wrappers are hanging of scope.wrappers.