Handle case of missing resources properly.