GetResource<T*> functionality implemented.