Simplify resource path handling