Fix #166 and add support for read messages.