Moves imports around for monkey patch purposes