Instead of `{MultiTypes}` I'd put `{Array|Integer}`. I'd also rename the variable from `i` to `indices`.