added binary docval type support