Add support for reading messages