Lazy import in vm and instances