Various fixes to resources.