Implemented ArrayAccess methods.