Refactoring import on safe.