Added a method for locating internal resources.