Resource.getInstance -> Resource.newInstance