FEAT: added support for array resources.