Fixing some resource linking issues.