added support for scoped bindings for inline resources