Added array accessors to the resource