Can we get the resource path from the resource class itself?