OK, I can move the imports back up. I'd rather not import the functions alone. On the one hand, modules are loaded as a whole, so it does not matter performance-wise. On the other hand, importing individual functions would mean that these functions would be used unqualified, which makes it more difficult to see where each came from. I prefer qualified names.