tuples by adding 'or slices'. Added ', not <typename' for bytearrays. Original patch by Claudiu Popa.