Moved these lines above, cleaning up the imports at the top of this module. Somewhat out of order previously, more readable code now.