should have cached native struct type