Add support for read and write consistency