Importing instance management code