Added support for monitoring reads and writes.