Use new async events for on-the-fly checking. Will now work with pep8