Imports and cleanup