Added simplified helper method into ResourcePathHelper.