Add type property to BinaryBuilder.