Update d6 code to use new CRM_Core_Resources