Implement basic Object Stream.