pep8 fixes and convenience methods added to check status.