Added type and serializations for double bit binary inputs