Update with support for complex resource declaration.