fix($_self): Fixes the support for $_self in scope attributes.