Some improvements to named resources.