Gave up on the memory optimisation...
Cleanup imports