add python stubs to for mark read and respective directives to invoke from UI