Added bytearray as a new extra type. Thanks Bernard