Removed some the side effects of import on the program.