Resolve resource paths automatically.