Add a links field to resources
Remove doc hash from resources