added doc, notification source filter, pep8 fixes