Started work on higher (stream/message) and lower (byte) level api.