Added the BinaryModel class.