Make resource parsing and evaluation more resilient.

Allow for missing resources in any place.