Count scopes as functions for the quoted encoding
Add copy support for blobs
Fix Unicode bug in slice