Added some support for delegated access.

DA is still broken though. Normal access is still fine.