Reference self in findresource()