Is there any possibility that reseource will not be ResourceTypInterface type?