[Bug 9925] Import fixups should be done before any user code is ran