Make Array#[] compliant