Ensure links are mapped before resources are parsed