Adding r resources.