Added resource array methods and events
Changed ArrayOf field to return a ResourceArray