Fix root importing for array and generic instance types