Added support for 2-bit data.