NIT: shouldn't mix imports from stdlib, 3rd party libs, and framework.

https://mozweb.readthedocs.org/en/latest/coding.html#import-statements