Make context mark-(un)read conditional. (#350)