Cleaning memory (hopefully) on import