Support runtime scope in dependency resolution.